package com.lemon.smartsafety.result.address;

import java.io.Serializable;
import java.util.List;

/**
 * 项目名称：workspace
 * 类描述：
 * 创建人：Fargo
 * 创建时间：2016/6/30 11:18
 * 修改人：Fargo
 * 修改时间：2016/6/30 11:18
 * 修改备注：
 */
public class ModCompanyMessageMode implements Serializable {


    /**
     * code : 0
     * msg : ????
     */

    private ErrorEntity error;
    /**
     * result : [{"check_freq":0,"record_id":0,"company_id":0,"check_status":1}]
     * error : {"code":0,"msg":"????"}
     * isError : false
     */

    private boolean isError;
    /**
     * check_freq : 0
     * record_id : 0
     * company_id : 0
     * check_status : 1
     */

    private List<ResultEntity> result;

    public ErrorEntity getError() {
        return error;
    }

    public void setError(ErrorEntity error) {
        this.error = error;
    }

    public boolean isIsError() {
        return isError;
    }

    public void setIsError(boolean isError) {
        this.isError = isError;
    }

    public List<ResultEntity> getResult() {
        return result;
    }

    public void setResult(List<ResultEntity> result) {
        this.result = result;
    }

    public static class ErrorEntity {
        private int code;
        private String msg;

        public int getCode() {
            return code;
        }

        public void setCode(int code) {
            this.code = code;
        }

        public String getMsg() {
            return msg;
        }

        public void setMsg(String msg) {
            this.msg = msg;
        }
    }

    public static class ResultEntity {
        private int check_freq;
        private int record_id;
        private int company_id;
        private int check_status;

        public int getCheck_freq() {
            return check_freq;
        }

        public void setCheck_freq(int check_freq) {
            this.check_freq = check_freq;
        }

        public int getRecord_id() {
            return record_id;
        }

        public void setRecord_id(int record_id) {
            this.record_id = record_id;
        }

        public int getCompany_id() {
            return company_id;
        }

        public void setCompany_id(int company_id) {
            this.company_id = company_id;
        }

        public int getCheck_status() {
            return check_status;
        }

        public void setCheck_status(int check_status) {
            this.check_status = check_status;
        }
    }
}
